package fmse.uaic.k.configuration_abstraction.data_structures;

import java.util.ArrayList;

import fmse.uaic.k.configuration_abstraction.abstract_classes.KAbstractNode;
import fmse.uaic.k.configuration_abstraction.abstract_visitor.KAbstractNodeVisitor;

public class RuleKNode extends KAbstractNode {
	public static enum Open { NONE, LEFT, RIGHT, BOTH };
	
	protected Open open;

	public RuleKNode(int iD, String label,
			ArrayList<KAbstractNode> children, KAbstractNode parent, Open open) {
		super(iD, label, children, parent);
		this.open = open;
	}

	@Override
	public void accept(KAbstractNodeVisitor visitor) {
		visitor.visit(this);		
	}
}
